<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<base href="{$_G['siteurl']}" />
<title>分享列表</title>
<link href="static/jquery_weui/css/weui.min.css?{VERHASH}" rel="stylesheet">
<link href="static/jquery_weui/css/jquery-weui.min.css?{VERHASH}" rel="stylesheet">
<link href="static/dzzicon/icon.css?{VERHASH}" rel="stylesheet">
<link href="{MOD_PATH}/images/mobile/password.css?{VERHASH}" rel="stylesheet">
<script type="text/javascript">var DZZSCRIPT='{DZZSCRIPT}',LANG='{$_G[language]}', STATICURL = 'static/', IMGDIR = '{$_G[setting][imgdir]}', VERHASH = '{VERHASH}', charset = '{CHARSET}', dzz_uid = '$_G[uid]', cookiepre = '{$_G[config][cookie][cookiepre]}', cookiedomain = '{$_G[config][cookie][cookiedomain]}', cookiepath = '{$_G[config][cookie][cookiepath]}',attackevasive = '{$_G[config][security][attackevasive]}', disallowfloat = '{$_G[setting][disallowfloat]}',  REPORTURL = '$_G[currenturl_encode]', SITEURL = '$_G[siteurl]', JSPATH = '$_G[setting][jspath]',MOD_PATH='{MOD_PATH}',APP_URL='{MOD_URL}',MOD_URL='{MOD_URL}';</script>   
</head>
<body>
<div class="weui-cell weui-cell_access weui-cell-member weui-cells">
    <div class="weui-cell__hd">
        <!--{if $shareuser[avatarstatus]}-->
        <img src="avatar.php?uid=$shareuser[uid]" class="img-circle special_avatar_class" title="$shareuser[username]"/>
        <!--{else}-->
        <span class="Topcarousel" style="background:{$shareuser[headerColor]}">{$shareuser[firstword]}</span>
        <!--{/if}-->
    </div>
    <div class="weui-cell__bd">
        <h4>$shareuser[username]的分享文件</h4>
    </div>
</div>
<!--地址栏开始-->
<section class="weui-address">
    <div class="weui-address-container" id="weui_address_scroll">
	    <div class="scroller">
		    <ul class="weui-address-field breadcrumb">
		       <li>
		            <a href="{DZZSCRIPT}?mod=shares&sid=$osid">{lang all_typename_attach}</a><span class="dzz dzz-chevron-right"></span>
		        </li>
		    </ul>
	    </div>
    </div>
</section>
<!--地址栏结束-->
<section class="weui-cells__recent" id="filelist">
<!--{loop $list $v}-->
 <!--{if $v[type] == 'folder'}-->
<div class="weui-cell weui-cell_access weui-cell_longpress folderlist" data-dpath="$v[dpath]" data-dhpath="$v[dhpath]" data-rid="$v[rid]">
    <div class="weui-cell__hd"><img src="$v[img]" class="weui-cell__recentimg"></div>
    <div class="weui-cell__bd">
        <h4 >$v[name]</h4>
        <p>
            <span class="file">文件:</span><i class="file-number">$v[filenum],</i>
            <span class="folder">文件夹:</span><i class="folder-number">$v[foldernum]</i>
        </p>
    </div>

    <div class="weui-cell__ft"></div>
    <div class="weui-cells_checkbox hide">
        <input type="checkbox" class="weui-check">
        <i class="weui-icon-checked"></i>
    </div>
</div>
    <!--{else}-->
<div class="weui-cell weui-cell_access weui-cell_longpress filelist" data-dpath="$v[dpath]" data-href="{DZZSCRIPT}?mod=io&op=download&path=$v[dpath]"  data-rid="$v[rid]">
    <div class="weui-cell__hd"><img src="$v[img]" class="weui-cell__recentimg"></div>
    <div class="weui-cell__bd">
        <h4 >$v[name]</h4>
        <p>
            <span class="size">$v[fsize]</span><i class="date">{eval echo dgmdate($v[dateline],'Y/m/d');}</i>
            <span class="date-time">{eval echo dgmdate($v[dateline],'H:i');}</span>
        </p>
    </div>
    <div class="weui-cells_checkbox hide">
        <input type="checkbox" class="weui-check">
        <i class="weui-icon-checked"></i>
    </div>
</div>
    <!--{/if}-->
<!--{/loop}-->
</section>
<iframe id="hideframe" name="hideframe" src="about:blank" frameBorder="0" marginHeight="0" marginWidth="0" width="0"
        height="0" allowtransparency="true" style="display:none;z-index:-99999"></iframe>
<div id="dataContainer" class="hide"></div>
</div>
<footer class="weui-member-footer weui-tabbar">
    <a href="javascript:;" class="weui-tabbar__item savefiles">
        <span class="dzz dzz-save weui-share-dzzicon"></span>
        <p class="weui-tabbar__label">转存</p>
    </a>
    <a href="javascript:;" class="weui-tabbar__item downfile">
        <span class="dzz dzz-download weui-share-dzzicon"></span>
        <p class="weui-tabbar__label">下载</p>
    </a>
</footer>
</body>
<script type="text/javascript" src="static/jquery/jquery.min.js?{VERHASH}"></script>
<script type="text/javascript" src="static/jquery_weui/js/jquery-weui.min.js?{VERHASH}"></script>
<script type="text/javascript" src="static/jquery_weui/js/iscroll.js?{VERHASH}"></script>
<script type="text/javascript" src="static/jquery_weui/js/navbarscroll.js?{VERHASH}"></script>
<script type="text/javascript" src="{MOD_PATH}/scripts/mobile/appevent.js?{VERHASH}"></script>
<script type="text/javascript" src="{MOD_PATH}/scripts/mobile/share.js?{VERHASH}"></script>
<script type="text/javascript">
var nextpage = '{$nextpage}',morepath = '{$morepath}',is_wxwork = '{$is_wxwork}', u = navigator.userAgent;;
$(function(){
    if(!!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/) || is_wxwork){
       $('.downfile').addClass('hide');
    }else{
        $('.downfile').removeClass('hide');
    }
    $('#weui_address_scroll').navbarscroll();
});

function downfile(downurl){
    jQuery.post('{MOD_URL}&do=adddowns&sid={$_GET[sid]}', function (data) {
        if (data['success']) {
            window.frames['hideframe'].location = downurl;
        }
    }, 'json');
}
</script>
</html>
